<?
include("../headL.php");
?>
<script type="text/javascript" language="javascript">
	function Validate(){
		if(document.forms[0].username.value == "")
		{
			alert("Username tidak boleh kosong ...");
			document.forms[0].username.focus();
			return false;
		}
		
		if(document.forms[0].password.value == "")
		{
			alert("Password tidak boleh kosong ...");
			document.forms[0].password.focus();
			return false;
		}

		document.forms[0].submit();

	}
	
	function Load(){
		document.forms[0].username.focus();
	}
	
</script>
</head>
<body onload="Load();">
<form name="FEmployee" method="post" action="../lib/login.php">
<table width="100%" class="no_border">
 <tr>
  <td colspan="2" class="line_bottom">
	<table style="border:none;">
	<tr>
	 <td colspan="2">
	 <div style="position:relative; left:510px;"> 
	  <b>Silahkan Login</b>
	 </div>
	 </td>
	</tr>
	</table>
  </td>
  </td>
 </tr>
 <tr>
  <td>&nbsp;</td>
 </tr>
 <tr>
  <td>
 <table style="position:relative; left:500px;" cellpadding="2" cellspacing="0">
 <tr>
  <td width="100">&nbsp;&nbsp;&nbsp;Username</td>
  <td>: <input type="text" name="username" /> <span class="required">*</span></td>
 </tr>
 <tr>
  <td width="100">&nbsp;&nbsp;&nbsp;Password</td>
  <td>: <input type="password" name="password" /> <span class="required">*</span></td>
 </tr>
 <tr>
  <td colspan="2">&nbsp;</td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td align="left">
  <input type="button" value="Login" class="button" onclick="Validate()" />
  </td>
 </tr>
</table>
</form>
</td>
</tr>
<tr>
 <td colspan="2" style="border:none;"><? include("../footer.php"); ?></td>
</tr>
</table>
</body>
</html>
